package com.quad.innovators.salesease.mapper.task;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quad.innovators.salesease.model.entity.task.TaskDistribution;
import com.quad.innovators.salesease.model.query.task.TaskDistributionQuery;
import com.quad.innovators.salesease.model.vo.task.TaskDistributionVO;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * @author cheng
 */
public interface TaskDistributionMapper extends BaseMapper<TaskDistribution> {

    /**
     * 条件分页查询
     * @param page
     * @param queryParams
     * @return
     */
    Page<TaskDistributionVO> listPaged(Page<TaskDistributionVO> page, @Param("queryParams")TaskDistributionQuery queryParams, @Param("taskCodeSet") Set<String> taskCodeSet);

}
